package com.syj.collect.entry;

import com.syj.collect.base.BaseBean;

import java.io.Serializable;
import java.util.List;

public class TaskBean extends BaseBean implements Serializable {

    /**
     * data : {"totalCount":4,"pageSize":10,"totalPage":1,"currPage":1,"list":[{"grade":"紧急","name":"1","description":"1","startTime":"2021-03-05 07:00:00","id":58,"endTime":"2021-03-15 13:00:00","status":"3"},{"grade":"紧急","name":"12333","description":"22","startTime":"2021-02-16 07:00:00","id":59,"endTime":"2021-02-16 14:00:00","status":"3"},{"grade":"紧急","name":"白石河附近巡检","description":"白石河附近巡检","startTime":"2020-11-27 11:00:00","id":51,"endTime":"2020-11-27 15:00:00","status":"0"},{"grade":"紧急","name":"后海河信息录入","description":"后海河信息录入","startTime":"2020-11-24 09:00:00","id":53,"endTime":"2020-11-25 12:00:00","status":"0"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        /**
         * totalCount : 4
         * pageSize : 10
         * totalPage : 1
         * currPage : 1
         * list : [{"grade":"紧急","name":"1","description":"1","startTime":"2021-03-05 07:00:00","id":58,"endTime":"2021-03-15 13:00:00","status":"3"},{"grade":"紧急","name":"12333","description":"22","startTime":"2021-02-16 07:00:00","id":59,"endTime":"2021-02-16 14:00:00","status":"3"},{"grade":"紧急","name":"白石河附近巡检","description":"白石河附近巡检","startTime":"2020-11-27 11:00:00","id":51,"endTime":"2020-11-27 15:00:00","status":"0"},{"grade":"紧急","name":"后海河信息录入","description":"后海河信息录入","startTime":"2020-11-24 09:00:00","id":53,"endTime":"2020-11-25 12:00:00","status":"0"}]
         */

        private int totalCount;
        private int pageSize;
        private int totalPage;
        private int currPage;
        private List<ListBean> list;


        public static class ListBean implements Serializable {

            public String getGrade() {
                return grade;
            }

            public void setGrade(String grade) {
                this.grade = grade;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public static class AddressList implements Serializable {

                private String address;
                private String lon;
                private String lat;
                public void setAddress(String address) {
                    this.address = address;
                }
                public String getAddress() {
                    return address;
                }

                public void setLon(String lon) {
                    this.lon = lon;
                }
                public String getLon() {
                    return lon;
                }

                public void setLat(String lat) {
                    this.lat = lat;
                }
                public String getLat() {
                    return lat;
                }

            }




            /**
             * grade : 紧急
             * name : 1
             * description : 1
             * startTime : 2021-03-05 07:00:00
             * id : 58
             * endTime : 2021-03-15 13:00:00
             * status : 3
             */
            private  List<AddressList> addressList;

            public List<AddressList> getAddressList() {
                return addressList;
            }

            public void setAddressList(List<AddressList> addressList) {
                this.addressList = addressList;
            }

            private String grade;
            private String name;
            private String description;
            private String startTime;
            private int id;
            private String endTime;
            private String status;


        }
    }
}
